<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="robots" content="all" />
<meta name="author" content="Neaton" />
<meta name="Copyright" content="mr-fang.com" />
<meta name="Description" content="/>
<meta name="Keywords" content=""/>
<title>留言板 - mr-fang.com</title>
{literal}
<style>
body,div,form,img,p,ul,ol,li,dl,dt,dd,embed,h1,h2,h3,h4,h5,h6,td,tr,span,fieldset,label,legend{margin:0; padding:0; border:0;}
body{color:#595959;font-family:Verdana,Tahoma,Helvetica,Arial,"宋体";font-size:12px;line-height:22px;background:url('/misc/images/bg.jpg');}
a{text-decoration:none;color:#000000}
#main{width:100%;padding:0;text-align:center}
#nav{margin-top:65px}
#nav .current{color:#993300}
a:hover{color:#993300}
#content{margin-top:25px;}
#logo{margin-top:15px;}
#footer{margin-top:10px;color:#000000}
#hr{height:1px;line-height:1px;width:600px;background-color:gray;}
.messageBox{text-align:left;width:50%;}
.messageBox td{border-bottom:1px solid gray;}
</style>
{/literal}
</head>
<body>

<div id="main">
    <div id="nav">
        {foreach from=$firstLevelCates item=c}
        <a href="{$c.c_link}" {if $controllerName eq $c.c_controller}class="current"{/if}>{$c.c_title}</a>
        {/foreach}
    </div>

    <div id="content" style="height:400px">

        <table class="messageBox" align="center">
        <tr><td>
        <span style="float:left">Mr.F 留言板</span><span style="float:right;"><a href="/message/post">我要留言</a></span>
        </td></tr>
        {if $messages}
        {foreach from=$messages item=m}
        <tr><td>
        <div><i>{$m.me_nickname}</i> 在 <i>{$m.me_created}</i> 留言：<br />{$m.me_content}</div>
        {if $m.replies}
        {foreach from=$m.replies item=r}
         <div style="color:red">Mr.F 回复：{$r.me_content}</div>
        {/foreach}
        {/if}
        </td></tr>
        {/foreach}
        {else}
        <tr><td>暂时没有留言</td></tr>
        {/if}
        </table>

    </div>

    <center>
    <div id="footer">

        {include file="base/page.tpl"}

        <table class="messageBox" align="center"><tr><td style="border:0">
        <span style="float:left"><img src="/misc/images/little_logo.gif"></span>
        <span style="float:right">
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=1&uin=1175766980&site=qq&menu=yes">
        <img border="0" src="http://wpa.qq.com/pa?p=2:1175766980:41" alt="点击这里发消息" title="点击这里发消息">
        </a>

        <a target="_blank" href="http://wpa.qq.com/msgrd?v=1&uin=948073336&site=qq&menu=yes">
        <img border="0" src="http://wpa.qq.com/pa?p=2:948073336:41" alt="点击这里发消息" title="点击这里发消息">
        </a>
        </span>
        </td></tr></table>

        <div id="hr">&nbsp;</div>
        <div>
            {$intro.i_shopname}地址：{$intro.i_address}<br />
            电话：{$intro.i_telphone}<br />
        </div>
    </div>
    </center>
</div>
